import request from '@/config/axios'

export const getUser = (data:any) => {
  return request.post({
    url: `/app/getUser`,
    data
  })
}


export const getKey = (data:string) => {
  return request.get({
    url: `/app/getKey/${data}`,
  })
}

export const updateLine = (data:any) => {
  return request.post({
    url: `/app/updateLine`,
    data
  })
}

export const editUsers = (data:any) => {
  return request.post({
    url: `/app/editUser`,
    data
  })
}

export const editPassword = (data:any) => {
  return request.post({
    url: `/app/editPassword`,
    data
  })
}

